package com.xpsoft.oa.model.project;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.customer.SuppliersAssess;

/**
 * ProjectPayment Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class ProjectPayment extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected Project project;
	@Expose
	protected Contract contract;
	@Expose
	protected java.util.Date formDate;
	@Expose
	protected SuppliersAssess suppliersAssess;
	@Expose
	protected String contactName;
	@Expose
	protected String contactTel;
	@Expose
	protected String bankName;
	@Expose
	protected String bankNo;
	@Expose
	protected String payType;
	@Expose
	protected java.math.BigDecimal contractPercentage;
	@Expose
	protected java.math.BigDecimal applyPercentage;
	@Expose
	protected java.math.BigDecimal applyAmount;
	@Expose
	protected String applyAmountBig;
	@Expose
	protected String billInfo;
	@Expose
	protected Long processRunId;

	/**
	 * Default Empty Constructor for class ProjectPayment
	 */
	public ProjectPayment () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class ProjectPayment
	 */
	public ProjectPayment (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public Contract getContract() {
		return contract;
	}

	public void setContract(Contract contract) {
		this.contract = contract;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	/**
	 * 填写日期	 * @return java.util.Date
	 * @hibernate.property column="formDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getFormDate() {
		return this.formDate;
	}
	
	/**
	 * Set the formDate
	 */	
	public void setFormDate(java.util.Date aValue) {
		this.formDate = aValue;
	}	


	public SuppliersAssess getSuppliersAssess() {
		return suppliersAssess;
	}

	public void setSuppliersAssess(SuppliersAssess suppliersAssess) {
		this.suppliersAssess = suppliersAssess;
	}

	public Long getProcessRunId() {
		return processRunId;
	}

	public void setProcessRunId(Long processRunId) {
		this.processRunId = processRunId;
	}

	/**
	 * 联系人	 * @return String
	 * @hibernate.property column="contactName" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getContactName() {
		return this.contactName;
	}
	
	/**
	 * Set the contactName
	 */	
	public void setContactName(String aValue) {
		this.contactName = aValue;
	}	

	/**
	 * 联系电话	 * @return String
	 * @hibernate.property column="contactTel" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getContactTel() {
		return this.contactTel;
	}
	
	/**
	 * Set the contactTel
	 */	
	public void setContactTel(String aValue) {
		this.contactTel = aValue;
	}	

	/**
	 * 开 户 行	 * @return String
	 * @hibernate.property column="bankName" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getBankName() {
		return this.bankName;
	}
	
	/**
	 * Set the bankName
	 */	
	public void setBankName(String aValue) {
		this.bankName = aValue;
	}	

	/**
	 * 帐号	 * @return String
	 * @hibernate.property column="bankNo" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getBankNo() {
		return this.bankNo;
	}
	
	/**
	 * Set the bankNo
	 */	
	public void setBankNo(String aValue) {
		this.bankNo = aValue;
	}	

	/**
	 * 申请付款性质	 * @return String
	 * @hibernate.property column="payType" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getPayType() {
		return this.payType;
	}
	
	/**
	 * Set the payType
	 */	
	public void setPayType(String aValue) {
		this.payType = aValue;
	}	

	/**
	 * 合同应付款比例	 * @return java.math.BigDecimal
	 * @hibernate.property column="contractPercentage" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getContractPercentage() {
		return this.contractPercentage;
	}
	
	/**
	 * Set the contractPercentage
	 */	
	public void setContractPercentage(java.math.BigDecimal aValue) {
		this.contractPercentage = aValue;
	}	

	/**
	 * 本次申请付款比例	 * @return java.math.BigDecimal
	 * @hibernate.property column="applyPercentage" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getApplyPercentage() {
		return this.applyPercentage;
	}
	
	/**
	 * Set the applyPercentage
	 */	
	public void setApplyPercentage(java.math.BigDecimal aValue) {
		this.applyPercentage = aValue;
	}	

	/**
	 * 本次申请付款额	 * @return java.math.BigDecimal
	 * @hibernate.property column="applyAmount" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getApplyAmount() {
		return this.applyAmount;
	}
	
	/**
	 * Set the applyAmount
	 */	
	public void setApplyAmount(java.math.BigDecimal aValue) {
		this.applyAmount = aValue;
	}	

	/**
	 * 本次申请付款额大写	 * @return String
	 * @hibernate.property column="applyAmountBig" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getApplyAmountBig() {
		return this.applyAmountBig;
	}
	
	/**
	 * Set the applyAmountBig
	 */	
	public void setApplyAmountBig(String aValue) {
		this.applyAmountBig = aValue;
	}	

	/**
	 * 发票情况	 * @return String
	 * @hibernate.property column="billInfo" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getBillInfo() {
		return this.billInfo;
	}
	
	/**
	 * Set the billInfo
	 */	
	public void setBillInfo(String aValue) {
		this.billInfo = aValue;
	}	

}
